package com.ruoyi.project.doc.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.his.domain.HisDept;

import java.util.Date;

public class DocReg extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String patientName;
    private String deptName;
    private String attDocter;
    private String regFee;
    private String serNumber;
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dateVisit;
    private String regType;
    private String regPeriod;

    private DocPatient docPatient;
    private HisDept hisDept;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    @Override
    public String toString() {
        return "DocReg{" +
                "id=" + id +
                ", patientName='" + patientName + '\'' +
                ", deptName='" + deptName + '\'' +
                ", attDocter='" + attDocter + '\'' +
                ", regFee='" + regFee + '\'' +
                ", serNumber='" + serNumber + '\'' +
                ", status='" + status + '\'' +
                ", dateVisit=" + dateVisit +
                ", regType='" + regType + '\'' +
                ", regPeriod='" + regPeriod + '\'' +
                ", docPatient=" + docPatient +
                ", hisDept=" + hisDept +
                '}';
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getAttDocter() {
        return attDocter;
    }

    public void setAttDocter(String attDocter) {
        this.attDocter = attDocter;
    }

    public String getRegFee() {
        return regFee;
    }

    public void setRegFee(String regFee) {
        this.regFee = regFee;
    }

    public String getSerNumber() {
        return serNumber;
    }

    public void setSerNumber(String serNumber) {
        this.serNumber = serNumber;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getDateVisit() {
        return dateVisit;
    }

    public void setDateVisit(Date dateVisit) {
        this.dateVisit = dateVisit;
    }

    public String getRegType() {
        return regType;
    }

    public void setRegType(String regType) {
        this.regType = regType;
    }

    public String getRegPeriod() {
        return regPeriod;
    }

    public void setRegPeriod(String regPeriod) {
        this.regPeriod = regPeriod;
    }

    public DocPatient getDocPatient() {
        return docPatient;
    }

    public void setDocPatient(DocPatient docPatient) {
        this.docPatient = docPatient;
    }

    public HisDept getHisDept() {
        return hisDept;
    }

    public void setHisDept(HisDept hisDept) {
        this.hisDept = hisDept;
    }

}
